//
//  CCKPublishCell.m
//  budejieMe
//
//  Created by 韦恺 on 16/8/25.
//  Copyright © 2016年 SuperJJ. All rights reserved.
//

#import "CCKPublishCell.h"
#import "CCKPublishModel.h"
#import <UIImageView+WebCache.h>

@interface CCKPublishCell ()

@property (weak, nonatomic) IBOutlet UIImageView *publishImageView;

@end


@implementation CCKPublishCell

- (void)setPublishModel:(CCKPublishModel *)publishModel
{
    _publishModel = publishModel;
    
    _pubLabel.text = publishModel.name;
    _pubLabel.url = publishModel.url;
    
    [_publishImageView sd_setImageWithURL:[NSURL URLWithString:publishModel.icon]];
}

@end
